﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunasrSTT.Translate.Models
{
    /// <summary>
    /// 实体基础类.
    /// </summary>
    /// <typeparam name="TKey">实体主键类型.</typeparam>
   [INotifyPropertyChanged]
    public abstract partial class Entity<TKey> where TKey : struct
    {
        /// <summary>
        /// 实体标识.
        /// </summary>
        [ObservableProperty] private TKey _id;
    }
}
